<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class C_Parentesco extends MY_Controller {

	function __construct()
	{
		parent::__construct();
                $this->load->helper('html');
                $this->load->helper('url');
	}

        function listaParentescoCombo(){

            $data['parentescoList'] = $this->em->createQuery('SELECT p FROM models\parentesco p ORDER BY p.parentescoDescricao ASC');
            
            $this->load->view('parentesco/cbo_parentesco',$data);

        }

}